package com.profound.blog.bean;

import java.io.Serializable;

public class Blog implements Serializable{

	private Integer blogId;
	private String nickName;
	private String photo;
	private String description;
	private String affiche;
//	private Integer userId;
	private RegUser user;
	private Integer accessCount;
	private String blogName;
//	private Article article;
	
	

//	public Article getArticle() {
//		return article;
//	}
//
//
//	public void setArticle(Article article) {
//		this.article = article;
//	}


	public Integer getBlogId() {
		return blogId;
	}


	public void setBlogId(Integer blogId) {
		this.blogId = blogId;
	}


	public String getNickName() {
		return nickName;
	}


	public void setNickName(String nickName) {
		this.nickName = nickName;
	}


	public String getPhoto() {
		return photo;
	}


	public void setPhoto(String photo) {
		this.photo = photo;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getAffiche() {
		return affiche;
	}


	public void setAffiche(String affiche) {
		this.affiche = affiche;
	}


	
//	public Integer getUserId() {
//		return userId;
//	}
//
//
//	public void setUserId(Integer userId) {
//		this.userId = userId;
//	}


	public RegUser getUser() {
		return user;
	}


	public void setUser(RegUser user) {
		this.user = user;
	}


	public Integer getAccessCount() {
		return accessCount;
	}


	public void setAccessCount(Integer accessCount) {
		this.accessCount = accessCount;
	}


	public String getBlogName() {
		return blogName;
	}


	public void setBlogName(String blogName) {
		this.blogName = blogName;
	}


	public Blog(Integer blogId, String nickName, String photo,
			String description, String affiche, RegUser user,
			Integer accessCount, String blogName) {
		super();
		this.blogId = blogId;
		this.nickName = nickName;
		this.photo = photo;
		this.description = description;
		this.affiche = affiche;
		this.user = user;
		this.accessCount = accessCount;
		this.blogName = blogName;
	} 
	
	
	
	public Blog() {
		// TODO Auto-generated constructor stub
	}


//	public Blog(Integer blogId, String nickName, String photo, String description,
//		String affiche, RegUser user, Integer accessCount, String blogName,
//		Article article) {
//		super();
//		this.blogId = blogId;
//		this.nickName = nickName;
//		this.photo = photo;
//		this.description = description;
//		this.affiche = affiche;
//		this.user = user;
//		this.accessCount = accessCount;
//		this.blogName = blogName;
//		this.article = article;
//	}

	
}
